<?php
//厦门大学计算机专业 | 前华为工程师
//专注《零基础学编程系列》  http://lblbc.cn/blog
//包含：Java | 安卓 | 前端 | Flutter | iOS | 小程序 | 鸿蒙
//公众号：蓝不蓝编程

use think\facade\Route;

Route::post('user/register', 'LoginController/register');
Route::post('user/login', 'LoginController/login');

Route::get('mcdonalds/categories', 'McdonaldsController/queryCategory');
Route::get('mcdonalds/goods/:goodsId', 'McdonaldsController/queryGoods');
Route::get('mcdonalds/goods', 'McdonaldsController/queryGoodsByCategory');
Route::get('mcdonalds/goodsBySearch', 'McdonaldsController/searchGoods');
Route::get('mcdonalds/orders/:orderId', 'McdonaldsController/queryOrder');
Route::get('mcdonalds/orders', 'McdonaldsController/queryByStatus');
Route::post('mcdonalds/orders', 'McdonaldsController/createOrder');
Route::delete('mcdonalds/orders/:orderId', 'McdonaldsController/deleteOrder');
